package com.pcbly.web.bean.sms;

import java.util.Date;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import com.pcbly.web.bean.AbstractBaseBean;

public class SmsSendBean extends AbstractBaseBean {

	/**
	 * 
	 */
	private static final long serialVersionUID = -8491481725266414590L;
	
	private SmsConfigBean smsConfigBean;
	
	private String context; 
	
	private Date sendDate; 
	
	public SmsConfigBean getSmsConfigBean() {
		return smsConfigBean;
	}

	public void setSmsConfigBean(SmsConfigBean smsConfigBean) {
		this.smsConfigBean = smsConfigBean;
	}

	public String getContext() {
		return context;
	}

	public void setContext(String context) {
		this.context = context;
	}

	public Date getSendDate() {
		return sendDate;
	}

	public void setSendDate(Date sendDate) {
		this.sendDate = sendDate;
	}

	/**
	 * @see java.lang.Object#equals(Object)
	 */
	public boolean equals(Object object) {
		return EqualsBuilder.reflectionEquals(this, object);
	}

	/**
	 * @see java.lang.Object#hashCode()
	 */
	public int hashCode() {
		return HashCodeBuilder.reflectionHashCode(this);
	}

	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
}
